<!-- Left side column. contains the logo and sidebar -->
<aside class="main-sidebar">
    <!-- sidebar: style can be found in sidebar.less -->
    <section class="sidebar">
        <!-- Sidebar user panel (optional) -->
        <div class="user-panel">       
            <div class="pull-left image">
                <img src="{{auth()->user()->avatar}}" class="img-circle" alt="{{__('User Avatar')}}" onerror="onerror=null;src='{{ asset('assets/img/user2-160x160.jpg') }}'"/>
            </div>
			<!--pull-left-->
            <div class="pull-left info">
                <p>{{ Auth::user()->nickname }}</p>
                <!-- Status -->
                <a href="#"><i class="fa fa-circle text-success"></i> {{__('status.online')}}</a>
            </div>
			<!--pull-left-->
        </div>
		<!--user-panel-->
		<form action="#" method="get" class="sidebar-form">
			<div class="input-group">
			  <input type="text" name="q" class="form-control" placeholder="Search...">
				  <span class="input-group-btn">
					<button type="submit" name="search" id="search-btn" class="btn btn-flat"><i class="fa fa-search"></i>
					</button>
				  </span>
			</div>
		</form>	
        <!-- Sidebar Menu -->
        <ul class="sidebar-menu">
            <li class="header">{{__('Main Navigation')}}</li>
			<li class="treeview active">
				<a href="#">
					<i class="fa fa-dashboard fa-fw"></i><span>{{__('Dashboard')}}</span>
				</a>
			</li>
        </ul><!-- /.sidebar-menu -->
    </section><!-- /.sidebar -->
</aside>